package com.hxzy.module.admin.api.modules.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @Author wy
 * @Description 功能菜单模块权限
 * @Date 2024/1/28 11:25
 * @Version 1.0
 */
@Getter
@Setter
@ApiModel(value = "功能菜单模块权限")
public class ModuleResp {

    @ApiModelProperty("模块id")
    private Long moduleId;

    @ApiModelProperty("父ID")
    private Long pid;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("文件的路径url")
    private String url;

    @ApiModelProperty("路由url")
    private String showUrl;

    @ApiModelProperty("有值时设置选中的左侧路由，没有值时则为直接显示在左侧")
    private String activeMenu;

    @ApiModelProperty("可见状态(false:不可见,true:可见)")
    private Boolean visiable;

    @ApiModelProperty("apiurl")
    private String apiUrl;

    @ApiModelProperty("模块权限")
    private List<ModuleResp> modules;


}
